package nobu.nakata.nfcfare.resource.item.impl;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;

import nobu.nakata.nfcfare.resource.item.IBusResourceItem;


public class BusResourceItem implements Serializable, IBusResourceItem {
	private long busCode;
	private String name;
	
	
	@JsonCreator
	public BusResourceItem(
			@JsonProperty("busCode") long busCode,
			@JsonProperty("name") String name) {
		this.busCode		= busCode;
		this.name			= name;
	}
	
	@Override
	public long getBusCode() { return busCode; }
	@Override
	public void setBusCode(long value) { busCode = value; }
	@Override
	public String getName() { return name; }
	@Override
	public void setName(String value) { name = value; }
	/**
	 * 
	 */
	private static final long serialVersionUID = -6065981094384646095L;
}
